import { put } from '@/utils/request';

interface Response {}

/**
 * @description 用户注册
 *
 * @param account 用户账号
 * @param code 验证码
 *
 * @returns
 */
export default async function registerApi(account: string, code: string) {
  const response = await put('/api/user/register', { account, code });
  return response;
}